package com.yanqu.road.logic.sort;

import com.yanqu.road.entity.decoration.MammonRecord;

import java.util.Comparator;

public class MammonRecordSort implements Comparator<MammonRecord> {
    @Override
    public int compare(MammonRecord o1, MammonRecord o2) {
        return  (int) (o1.getRecordTime() - o2.getRecordTime());
    }
}
